'''
可变和不可变
不可变：当改变变量的值时，地址发生了改变
    类似：int str float bool tuple
可变类型：里面类型发生改变，但地址不变
    类似：list dict set
'''
a = 100
print(id(a)) #2130946100560
a = 90
print(id(a)) #2130946100240

s = 'abc'
print(id(s)) #1685744892592
s = 'def'
print(id(s)) #1685745487024

t1 = (1,2,3)
print(id(t1)) #2881671431488
t1 = (4,5,6,7)
print(id(t1)) #2881668517376

# 列表
l1 = [1,2,3]
print(id(l1)) #2881671435392
l1.append(4)
print(id(l1)) #2881671435392







